3.1.55 \(\int \frac {x^4 (d+e x^2+f x^4)}{a+b x^2+c x^4} \, dx\) [55]

Optimal. Leaf size=369 \[ \frac {\left (c^2 d+b^2 f-c (b e+a f)\right ) x}{c^3}+\frac {(c e-b f) x^3}{3 c^2}+\frac {f x^5}{5 c}+\frac {\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)-\frac {b^3 c e-3 a b c^2 e-b^4 f-b^2 c (c d-4 a f)+2 a c^2 (c d-a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{7/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)+\frac {b^3 c e-3 a b c^2 e-b^4 f-b^2 c (c d-4 a f)+2 a c^2 (c d-a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{7/2} \sqrt {b+\sqrt {b^2-4 a c}}} \]

[Out]

(c^2*d+b^2*f-c*(a*f+b*e))*x/c^3+1/3*(-b*f+c*e)*x^3/c^2+1/5*f*x^5/c+1/2*arctan(x*2^(1/2)*c^(1/2)/(b-(-4*a*c+b^2
)^(1/2))^(1/2))*(b^2*c*e-a*c^2*e-b^3*f-b*c*(-2*a*f+c*d)+(-b^3*c*e+3*a*b*c^2*e+b^4*f+b^2*c*(-4*a*f+c*d)-2*a*c^2
*(-a*f+c*d))/(-4*a*c+b^2)^(1/2))/c^(7/2)*2^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2)+1/2*arctan(x*2^(1/2)*c^(1/2)/(b+
(-4*a*c+b^2)^(1/2))^(1/2))*(b^2*c*e-a*c^2*e-b^3*f-b*c*(-2*a*f+c*d)+(b^3*c*e-3*a*b*c^2*e-b^4*f-b^2*c*(-4*a*f+c*
d)+2*a*c^2*(-a*f+c*d))/(-4*a*c+b^2)^(1/2))/c^(7/2)*2^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 3.12, antiderivative size = 369, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {1678, 1180, 211} \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right ) \left (-\frac {-b^2 c (c d-4 a f)-3 a b c^2 e+2 a c^2 (c d-a f)+b^4 (-f)+b^3 c e}{\sqrt {b^2-4 a c}}-b c (c d-2 a f)-a c^2 e+b^3 (-f)+b^2 c e\right )}{\sqrt {2} c^{7/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\text {ArcTan}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right ) \left (\frac {-b^2 c (c d-4 a f)-3 a b c^2 e+2 a c^2 (c d-a f)+b^4 (-f)+b^3 c e}{\sqrt {b^2-4 a c}}-b c (c d-2 a f)-a c^2 e+b^3 (-f)+b^2 c e\right )}{\sqrt {2} c^{7/2} \sqrt {\sqrt {b^2-4 a c}+b}}+\frac {x \left (-c (a f+b e)+b^2 f+c^2 d\right )}{c^3}+\frac {x^3 (c e-b f)}{3 c^2}+\frac {f x^5}{5 c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^4*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4),x]

[Out]

((c^2*d + b^2*f - c*(b*e + a*f))*x)/c^3 + ((c*e - b*f)*x^3)/(3*c^2) + (f*x^5)/(5*c) + ((b^2*c*e - a*c^2*e - b^
3*f - b*c*(c*d - 2*a*f) - (b^3*c*e - 3*a*b*c^2*e - b^4*f - b^2*c*(c*d - 4*a*f) + 2*a*c^2*(c*d - a*f))/Sqrt[b^2
 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(7/2)*Sqrt[b - Sqrt[b^2 - 4*a*c
]]) + ((b^2*c*e - a*c^2*e - b^3*f - b*c*(c*d - 2*a*f) + (b^3*c*e - 3*a*b*c^2*e - b^4*f - b^2*c*(c*d - 4*a*f) +
 2*a*c^2*(c*d - a*f))/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(
7/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1180

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
 q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]

Rule 1678

Int[(Pq_)*((d_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d*x
)^m*Pq*(a + b*x^2 + c*x^4)^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && PolyQ[Pq, x^2] && IGtQ[p, -2]

Rubi steps

\begin {align*} \int \frac {x^4 \left (d+e x^2+f x^4\right )}{a+b x^2+c x^4} \, dx &=\int \left (\frac {c^2 d+b^2 f-c (b e+a f)}{c^3}+\frac {(c e-b f) x^2}{c^2}+\frac {f x^4}{c}-\frac {a \left (c^2 d+b^2 f-c (b e+a f)\right )-\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)\right ) x^2}{c^3 \left (a+b x^2+c x^4\right )}\right ) \, dx\\ &=\frac {\left (c^2 d+b^2 f-c (b e+a f)\right ) x}{c^3}+\frac {(c e-b f) x^3}{3 c^2}+\frac {f x^5}{5 c}-\frac {\int \frac {a \left (c^2 d+b^2 f-c (b e+a f)\right )+\left (-b^2 c e+a c^2 e+b^3 f+b c (c d-2 a f)\right ) x^2}{a+b x^2+c x^4} \, dx}{c^3}\\ &=\frac {\left (c^2 d+b^2 f-c (b e+a f)\right ) x}{c^3}+\frac {(c e-b f) x^3}{3 c^2}+\frac {f x^5}{5 c}+\frac {\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)-\frac {b^3 c e-3 a b c^2 e-b^4 f-b^2 c (c d-4 a f)+2 a c^2 (c d-a f)}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{2 c^3}+\frac {\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)+\frac {b^3 c e-3 a b c^2 e-b^4 f-b^2 c (c d-4 a f)+2 a c^2 (c d-a f)}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{2 c^3}\\ &=\frac {\left (c^2 d+b^2 f-c (b e+a f)\right ) x}{c^3}+\frac {(c e-b f) x^3}{3 c^2}+\frac {f x^5}{5 c}+\frac {\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)-\frac {b^3 c e-3 a b c^2 e-b^4 f-b^2 c (c d-4 a f)+2 a c^2 (c d-a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{7/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\left (b^2 c e-a c^2 e-b^3 f-b c (c d-2 a f)+\frac {b^3 c e-3 a b c^2 e-b^4 f-b^2 c (c d-4 a f)+2 a c^2 (c d-a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{7/2} \sqrt {b+\sqrt {b^2-4 a c}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.32, size = 456, normalized size = 1.24 \begin {gather*} \frac {\left (c^2 d+b^2 f-c (b e+a f)\right ) x}{c^3}+\frac {(c e-b f) x^3}{3 c^2}+\frac {f x^5}{5 c}-\frac {\left (-b^4 f-b^2 c \left (c d+\sqrt {b^2-4 a c} e-4 a f\right )+a c^2 \left (2 c d+\sqrt {b^2-4 a c} e-2 a f\right )+b^3 \left (c e+\sqrt {b^2-4 a c} f\right )+b c \left (c \sqrt {b^2-4 a c} d-3 a c e-2 a \sqrt {b^2-4 a c} f\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{7/2} \sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\left (b^4 f+b^2 c \left (c d-\sqrt {b^2-4 a c} e-4 a f\right )+a c^2 \left (-2 c d+\sqrt {b^2-4 a c} e+2 a f\right )+b^3 \left (-c e+\sqrt {b^2-4 a c} f\right )+b c \left (c \sqrt {b^2-4 a c} d+3 a c e-2 a \sqrt {b^2-4 a c} f\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{7/2} \sqrt {b^2-4 a c} \sqrt {b+\sqrt {b^2-4 a c}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^4*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4),x]

[Out]

((c^2*d + b^2*f - c*(b*e + a*f))*x)/c^3 + ((c*e - b*f)*x^3)/(3*c^2) + (f*x^5)/(5*c) - ((-(b^4*f) - b^2*c*(c*d
+ Sqrt[b^2 - 4*a*c]*e - 4*a*f) + a*c^2*(2*c*d + Sqrt[b^2 - 4*a*c]*e - 2*a*f) + b^3*(c*e + Sqrt[b^2 - 4*a*c]*f)
 + b*c*(c*Sqrt[b^2 - 4*a*c]*d - 3*a*c*e - 2*a*Sqrt[b^2 - 4*a*c]*f))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b
^2 - 4*a*c]]])/(Sqrt[2]*c^(7/2)*Sqrt[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - ((b^4*f + b^2*c*(c*d - Sqrt[b
^2 - 4*a*c]*e - 4*a*f) + a*c^2*(-2*c*d + Sqrt[b^2 - 4*a*c]*e + 2*a*f) + b^3*(-(c*e) + Sqrt[b^2 - 4*a*c]*f) + b
*c*(c*Sqrt[b^2 - 4*a*c]*d + 3*a*c*e - 2*a*Sqrt[b^2 - 4*a*c]*f))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 -
 4*a*c]]])/(Sqrt[2]*c^(7/2)*Sqrt[b^2 - 4*a*c]*Sqrt[b + Sqrt[b^2 - 4*a*c]])

________________________________________________________________________________________

Maple [A]
time = 0.06, size = 453, normalized size = 1.23

method result size
risch \(\frac {f \,x^{5}}{5 c}-\frac {b f \,x^{3}}{3 c^{2}}+\frac {e \,x^{3}}{3 c}-\frac {a f x}{c^{2}}+\frac {b^{2} f x}{c^{3}}-\frac {b e x}{c^{2}}+\frac {d x}{c}+\frac {\munderset {\textit {\_R} =\RootOf \left (c \,\textit {\_Z}^{4}+\textit {\_Z}^{2} b +a \right )}{\sum }\frac {\left (\left (2 a b c f -a \,c^{2} e -b^{3} f +b^{2} c e -b \,c^{2} d \right ) \textit {\_R}^{2}+a^{2} c f -a \,b^{2} f +a b c e -a \,c^{2} d \right ) \ln \left (x -\textit {\_R} \right )}{2 c \,\textit {\_R}^{3}+\textit {\_R} b}}{2 c^{3}}\) \(164\)
default \(-\frac {-\frac {1}{5} f \,x^{5} c^{2}+\frac {1}{3} b c f \,x^{3}-\frac {1}{3} c^{2} e \,x^{3}+a c f x -b^{2} f x +b c e x -c^{2} d x}{c^{3}}+\frac {-\frac {\left (2 \sqrt {-4 a c +b^{2}}\, a b c f -a \,c^{2} e \sqrt {-4 a c +b^{2}}-b^{3} f \sqrt {-4 a c +b^{2}}+b^{2} c e \sqrt {-4 a c +b^{2}}-b \,c^{2} d \sqrt {-4 a c +b^{2}}+2 a^{2} c^{2} f -4 a \,b^{2} c f +3 a b \,c^{2} e -2 c^{3} a d +b^{4} f -b^{3} c e +b^{2} c^{2} d \right ) \sqrt {2}\, \arctanh \left (\frac {c x \sqrt {2}}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 c \sqrt {-4 a c +b^{2}}\, \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}+\frac {\left (2 \sqrt {-4 a c +b^{2}}\, a b c f -a \,c^{2} e \sqrt {-4 a c +b^{2}}-b^{3} f \sqrt {-4 a c +b^{2}}+b^{2} c e \sqrt {-4 a c +b^{2}}-b \,c^{2} d \sqrt {-4 a c +b^{2}}-2 a^{2} c^{2} f +4 a \,b^{2} c f -3 a b \,c^{2} e +2 c^{3} a d -b^{4} f +b^{3} c e -b^{2} c^{2} d \right ) \sqrt {2}\, \arctan \left (\frac {c x \sqrt {2}}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 c \sqrt {-4 a c +b^{2}}\, \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}}{c^{2}}\) \(453\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x,method=_RETURNVERBOSE)

[Out]

-1/c^3*(-1/5*f*x^5*c^2+1/3*b*c*f*x^3-1/3*c^2*e*x^3+a*c*f*x-b^2*f*x+b*c*e*x-c^2*d*x)+4/c^2*(-1/8*(2*(-4*a*c+b^2
)^(1/2)*a*b*c*f-a*c^2*e*(-4*a*c+b^2)^(1/2)-b^3*f*(-4*a*c+b^2)^(1/2)+b^2*c*e*(-4*a*c+b^2)^(1/2)-b*c^2*d*(-4*a*c
+b^2)^(1/2)+2*a^2*c^2*f-4*a*b^2*c*f+3*a*b*c^2*e-2*c^3*a*d+b^4*f-b^3*c*e+b^2*c^2*d)/c/(-4*a*c+b^2)^(1/2)*2^(1/2
)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))+1/8*(2*(-4*a*c+b^2)
^(1/2)*a*b*c*f-a*c^2*e*(-4*a*c+b^2)^(1/2)-b^3*f*(-4*a*c+b^2)^(1/2)+b^2*c*e*(-4*a*c+b^2)^(1/2)-b*c^2*d*(-4*a*c+
b^2)^(1/2)-2*a^2*c^2*f+4*a*b^2*c*f-3*a*b*c^2*e+2*c^3*a*d-b^4*f+b^3*c*e-b^2*c^2*d)/c/(-4*a*c+b^2)^(1/2)*2^(1/2)
/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(c*x*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x, algorithm="maxima")

[Out]

1/15*(3*c^2*f*x^5 - 5*(b*c*f - c^2*e)*x^3 + 15*(c^2*d - b*c*e + (b^2 - a*c)*f)*x)/c^3 + integrate(-(a*c^2*d -
a*b*c*e + (b*c^2*d - b^2*c*e + a*c^2*e + (b^3 - 2*a*b*c)*f)*x^2 + (a*b^2 - a^2*c)*f)/(c*x^4 + b*x^2 + a), x)/c
^3

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 15467 vs. \(2 (331) = 662\).
time = 40.75, size = 15467, normalized size = 41.92 \begin {gather*} \text {too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x, algorithm="fricas")

[Out]

1/30*(6*c^2*f*x^5 - 15*sqrt(1/2)*c^3*sqrt(-((b^3*c^4 - 3*a*b*c^5)*d^2 - 2*(b^4*c^3 - 4*a*b^2*c^4 + 2*a^2*c^5)*
d*e + (b^5*c^2 - 5*a*b^3*c^3 + 5*a^2*b*c^4)*e^2 + (b^7 - 7*a*b^5*c + 14*a^2*b^3*c^2 - 7*a^3*b*c^3)*f^2 + 2*((b
^5*c^2 - 5*a*b^3*c^3 + 5*a^2*b*c^4)*d - (b^6*c - 6*a*b^4*c^2 + 9*a^2*b^2*c^3 - 2*a^3*c^4)*e)*f + (b^2*c^7 - 4*
a*c^8)*sqrt(((b^4*c^8 - 2*a*b^2*c^9 + a^2*c^10)*d^4 - 4*(b^5*c^7 - 3*a*b^3*c^8 + 2*a^2*b*c^9)*d^3*e + 2*(3*b^6
*c^6 - 12*a*b^4*c^7 + 12*a^2*b^2*c^8 - a^3*c^9)*d^2*e^2 - 4*(b^7*c^5 - 5*a*b^5*c^6 + 7*a^2*b^3*c^7 - 2*a^3*b*c
^8)*d*e^3 + (b^8*c^4 - 6*a*b^6*c^5 + 11*a^2*b^4*c^6 - 6*a^3*b^2*c^7 + a^4*c^8)*e^4 + (b^12 - 10*a*b^10*c + 37*
a^2*b^8*c^2 - 62*a^3*b^6*c^3 + 46*a^4*b^4*c^4 - 12*a^5*b^2*c^5 + a^6*c^6)*f^4 + 4*((b^10*c^2 - 8*a*b^8*c^3 + 2
2*a^2*b^6*c^4 - 24*a^3*b^4*c^5 + 9*a^4*b^2*c^6 - a^5*c^7)*d - (b^11*c - 9*a*b^9*c^2 + 29*a^2*b^7*c^3 - 40*a^3*
b^5*c^4 + 22*a^4*b^3*c^5 - 3*a^5*b*c^6)*e)*f^3 + 2*((3*b^8*c^4 - 18*a*b^6*c^5 + 33*a^2*b^4*c^6 - 19*a^3*b^2*c^
7 + 3*a^4* ...

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(f*x**4+e*x**2+d)/(c*x**4+b*x**2+a),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 7243 vs. \(2 (335) = 670\).
time = 6.12, size = 7243, normalized size = 19.63 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x, algorithm="giac")

[Out]

1/8*((2*b^5*c^4 - 16*a*b^3*c^5 + 32*a^2*b*c^6 - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b^5*
c^2 + 8*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b^3*c^3 + 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt
(b*c - sqrt(b^2 - 4*a*c)*c)*b^4*c^3 - 16*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a^2*b*c^4 -
 8*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b^2*c^4 - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c -
sqrt(b^2 - 4*a*c)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(b^2 - 4*a*c)*c)*b^7*c^2 + 8*sqrt(2)*sqrt(
b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b^5*c^3 + 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a
*c)*c)*b^6*c^3 - 18*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a^2*b^3*c^4 - 8*sqrt(2)*sqrt(b^2
 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b^4...

________________________________________________________________________________________

Mupad [B]
time = 4.91, size = 2500, normalized size = 6.78 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^4*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4),x)

[Out]

x^3*(e/(3*c) - (b*f)/(3*c^2)) - x*((b*(e/c - (b*f)/c^2))/c - d/c + (a*f)/c^2) + atan(((((16*a^3*c^6*f - 16*a^2
*c^7*d - 20*a^2*b^2*c^5*f + 4*a*b^2*c^6*d - 4*a*b^3*c^5*e + 16*a^2*b*c^6*e + 4*a*b^4*c^4*f)/c^5 - (2*x*(4*b^3*
c^7 - 16*a*b*c^8)*(-(b^9*f^2 + b^5*c^4*d^2 + b^7*c^2*e^2 + b^6*f^2*(-(4*a*c - b^2)^3)^(1/2) - 7*a*b^3*c^5*d^2
+ 12*a^2*b*c^6*d^2 - a*c^5*d^2*(-(4*a*c - b^2)^3)^(1/2) - 9*a*b^5*c^3*e^2 - 20*a^3*b*c^5*e^2 + 28*a^4*b*c^4*f^
2 - 2*b^8*c*e*f + 25*a^2*b^3*c^4*e^2 + a^2*c^4*e^2*(-(4*a*c - b^2)^3)^(1/2) + b^2*c^4*d^2*(-(4*a*c - b^2)^3)^(
1/2) + 42*a^2*b^5*c^2*f^2 - 63*a^3*b^3*c^3*f^2 - a^3*c^3*f^2*(-(4*a*c - b^2)^3)^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f + 2*b^4*c^2*d*f*(-(4*a*c - b^2)^3)^(1
/2) - 3*a*b^2*c^3*e^2*(-(4*a*c - b^2)^3)^(1/2) + 4*a*b*c^4*d*e*(-(4*a*c - b^2)^3)^(1/2) - 6*a*b^2*c^3*d*f*(-(4
*a*c - b^2)^3)^(1/2) + 8*a*b^3*c^2*e*f*(-(4*a*c - b^2)^3)^(1/2) - 6*a^2*b*c^3*e*f*(-(4*a*c - b^2)^3)^(1/2))/(8
*(16*a^2*c^9 + b^4*c^7 - 8*a*b^2*c^8)))^(1/2)*1i - (((16*a^3*c^6*f - 16*a^2*c^7*d - 20*a^2*b^2*c^5*f + 4*a*b^2
*c^6*d - 4*a*b^3*c^5*e + 16*a^2*b*c^6*e + 4*a*b^4*c^4*f)/c^5 + (2*x*(4*b^3*c^7 - 16*a*b*c^8)*(-(b^9*f^2 + b^5*
c^4*d^2 + b^7*c^2*e^2 + b^6*f^2*(-(4*a*c - b^2)^3)^(1/2) - 7*a*b^3*c^5*d^2 + 12*a^2*b*c^6*d^2 - a*c^5*d^2*(-(4
*a*c - b^2)^3)^(1/2) - 9*a*b^5*c^3*e^2 - 20*a^3*b*c^5*e^2 + 28*a^4*b*c^4*f^2 - 2*b^8*c*e*f + 25*a^2*b^3*c^4*e^
2 + a^2*c^4*e^2*(-(4*a*c - b^2)^3)^(1/2) + b^2*c^4*d^2*(-(4*a*c - b^2)^3)^(1/2) + 42*a^2*b^5*c^2*f^2 - 63*a^3*
b^3*c^3*f^2 - a^3*c^3*f^2*(-(4*a*c - b^2)^3)^(1/2) + b^4*c^2*e^2*(-(4*a*c - b^2)^3)^(1/2) - 11*a*b^7*c*f^2 + 1
6*a^3*c^6*d*e - 2*b^6*c^3*d*e - 16*a^4*c^5*e*f + 2*b^7*c^2*d*f + 16*a*b^4*c^4*d*e - 18*a*b^5*c^3*d*f - 40*a^3*
b*c^5*d*f + 20*a*b^6*c^2*e*f - 2*b^5*c*e*f*(-(4...

________________________________________________________________________________________